package com.dataextend.dto;

import lombok.Data;

@Data
public class RegularMissionDTO{
    /** 任务id*/
    private String missionId;

    /** 活动名称*/
    private String missionName;

    /** 人群id*/
    private String groupId;

    /** 消息标题*/
    private String messageTitle;

    /** 消息内容*/
    private String messageContent;

    /** 投放渠道*/
    private String channel;
    private ruleDetails sendRules;

    /** 0 进行中; 1 已结束; 2 暂停*/
    private Integer status;
    private String creator;


    @Data
    public static class ruleDetails{
        /** 推送规则 仅发送一次/周期性推送*/
        private String period;

        /** 立即发送/定时发送*/
        private String sendType;
        private String beginDate;
        private String endDate;
        private String sendTime;
    }
}